package com.betterjr.modules.temhandler.entity;

import com.betterjr.common.entity.BetterjrEntity;

/**
 * 
 * @ClassName: TemDataBuilder 
 * @Description: 建造临时数据对象
 * @author xuyp
 * @date 2018年1月11日 下午3:16:54 
 *
 */
public class TemDataBuilder implements BetterjrEntity {

    /** 
     * @Fields serialVersionUID : 
     */
    private static final long serialVersionUID = -5354740581486198489L;

    public TemDataBuilder id(Long id) {
        temData.setId(id);
        return this;
    }

    public TemDataBuilder businStatus(String businStatus) {
        temData.setBusinStatus(businStatus);
        return this;
    }

    public TemDataBuilder businTableType(String businTableType) {

        temData.setBusinTableType(businTableType);
        return this;
    }

    public TemDataBuilder businTableData(String businTableData) {
        temData.setBusinTableData(businTableData);
        return this;
    }

    public TemDataBuilder businTableId(String businTableId) {
        temData.setBusinTableId(businTableId);
        return this;
    }

    public TemDataBuilder businTableOperorg(String businTableOperorg) {
        temData.setBusinTableOperorg(businTableOperorg);
        return this;
    }

    public TemDataBuilder queryOne(String queryOne) {
        temData.setQueryOne(queryOne);
        return this;
    }

    public TemDataBuilder queryTwo(String queryTwo) {
        temData.setQueryTwo(queryTwo);
        return this;
    }

    public TemDataBuilder queryThree(String queryThree) {
        temData.setQueryThree(queryThree);
        return this;
    }

    public TemDataBuilder queryFour(String queryFour) {
        temData.setQueryFour(queryFour);
        return this;
    }

    public TemDataBuilder queryFive(String queryFive) {
        temData.setQueryFive(queryFive);
        return this;
    }

    public TemDataBuilder version(int version) {
        temData.setVersion(version);
        return this;
    }

    public TemDataBuilder laster(String laster) {
        temData.setLaster(laster);
        return this;
    }

    public TemDataBuilder prefixId(Long prefixId) {
        temData.setPrefixId(prefixId);
        return this;
    }

    public TemDataBuilder custNo(Long custNo) {
        temData.setCustNo(custNo);
        return this;
    }

    public TemDataBuilder custName(String custName) {
        temData.setCustName(custName);
        return this;
    }

    public TemDataBuilder description(String description) {
        temData.setDescription(description);
        return this;
    }

    public TemDataBuilder regOperid(Long regOperid) {
        temData.setRegOperid(regOperid);
        return this;
    }

    public TemDataBuilder regOpername(String regOpername) {
        temData.setRegOpername(regOpername);
        return this;
    }

    public TemDataBuilder regTime(String regTime) {
        temData.setRegTime(regTime);
        return this;
    }

    public TemDataBuilder regDate(String regDate) {
        temData.setRegDate(regDate);
        return this;
    }

    public TemDataBuilder auditOperid(Long auditOperid) {
        temData.setAuditOperid(auditOperid);
        return this;
    }

    public TemDataBuilder auditOpername(String auditOpername) {
        temData.setAuditOpername(auditOpername);
        return this;
    }

    public TemDataBuilder auditTime(String auditTime) {
        temData.setAuditTime(auditTime);
        return this;
    }

    public TemDataBuilder auditDate(String auditDate) {
        temData.setAuditDate(auditDate);
        return this;
    }

    public TemDataBuilder handlerResult(String handlerResult) {
        temData.setHandlerResult(handlerResult);
        return this;
    }

    private final TemData temData;

    private TemDataBuilder() {
        temData = new TemData();
    }

    public static TemDataBuilder newInstance() {
        return new TemDataBuilder();
    }

    public static TemDataBuilder newInstance(TemData temData) {
        return new TemDataBuilder(temData);
    }

    private TemDataBuilder(TemData temData) {
        if (temData == null) {
            temData = new TemData();
        }
        this.temData = temData;
    }

    public TemData build() {
        return temData;
    }
}
